package jp.ac.utokyo.pinyomi;

import java.io.IOException;

import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;

public class PinyinTableTest {
	PinyinTable pinyintable;

	@BeforeClass
	public void setUp() throws IOException {
		System.out.println("In setUp()  ----------------------------------");
		
		// All table reading test must have this method called first.
		Settings.Sets(System.getenv("TOMCAT_HOME"));
		
		pinyintable = PinyinTable.getInstance();
	}

	@Test(groups = { "testnow" })
	public void testReadfile() throws IOException {
		System.out.println("testReadfile ----------------------------------");
		pinyintable.readfile();
	}

	@Test
	public void testMethodx() {
		System.out.println("testMethodx ----------------------------------");
	}
}
